package hy.beans;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@Document(indexName = "book")
public class Book {
    @Id
    String id;
    String title;
    String authors;
}
